package com.itheima.feignclient.base;

import com.itheima.bestcommon.pojo.Order;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * OrderApi
 *
 * @author liliudong
 * @version 1.0
 * @description
 * @date 2023/7/20 16:38
 */
public interface OrderApi {
    /**
     * 根据ID查询订单
     *
     * @param id
     * @return
     */
    @GetMapping("/order/{id}")
    Order getById(@PathVariable Integer id);
}
